[USER (data scientist)]: Finally, I want to take a closer look at target customer segments 1 and 2. Please generate the code with the output in dictionary type.
My template of code snippet is:

---BEGIN CODE TEMPLATE---

import pandas as pd  
import pickle
from decision_company import read_csv_file, fetch_column, avg, series_value_counts, series_to_dict

# Load the dataset  
credit_customers = read_csv_file("credit_customers.csv")  
  
# YOUR SOLUTION BEGIN:
<code1>
[GENERATE YOUR CODE]  
</code1>
# YOUR SOLUTION END

print("summary:\n", summary)    

# save data
pickle.dump(summary,open("./pred_result/summary.pkl","wb"))

---END CODE TEMPLATE---

[YOU (AI assistant)]: No problem! Here's the code to summarize the key characteristics of target customer segments 1 and 2:

# MY SOLUTION BEGIN:
